@Oudriss wrote:
Hello,
I’am on an ember project and I am trying to upgrade ember version from 2.8 to 3.5.0. But since I changed the version and also some several dependencies version I get this error :
ERROR Summary: - broccoliBuilderErrorStack: [undefined] - codeFrame: [undefined] - errorMessage: The "path" argument must be of type string. Received type undefined - errorType: [undefined] - location: - column: [undefined] - file: [undefined] - line: [undefined] - message: The "path" argument must be of type string. Received type undefined - name: TypeError [ERR_INVALID_ARG_TYPE] - nodeAnnotation: [undefined] - nodeName: [undefined] - originalErrorMessage: [undefined] - stack: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined at assertPath (path.js:39:11) at Object.resolve (path.js:1088:7)
I’ve tried to fix this with ember-cli-build file but the error persiste.
const app = new EmberApp(defaults, { 'sassOptions': { includePaths: [ 'bower_components/materialize/sass', ], }, 'outputPaths': { app: { css: { design1: '/assets/design1.css', design2: '/assets/design2.css' }, }, }, 'ember-cli-babel': { includePolyfill: true, }, 'minifyJS': { enabled: isPublicEnv, }, 'minifyCSS': { enabled: isPublicEnv, }, 'fingerprint': { enabled: isPublicEnv, }, 'tests': !isPublicEnv, 'hinting': !isPublicEnv, 'sourcemaps': { enabled: !isPublicEnv, }, }); app.import('vendor/lib1.js'); app.import('vendor/lib2.js'); return app.toTree();
Any suggestion to resolve this ?
Posts: 1
Participants: 1