Replies: 1 comment 3 replies
-
run |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm receiving a weird
error npm ERR! code 1
when trying to launch the dev server or run a build.I've researched this problem for a while with no success whatsoever.
The problem manifests itself when I try to import an image in a JS file from the SRC folder.
import myImage from '../assets/images/my-image.svg'
Or when I try to import sass partials from the SASS folder into app.scss.
@import './components/myComponent
Here is the NPM error message:
Here is a piece of the error output from the terminal:
Any ideas what might cause this ?
Beta Was this translation helpful? Give feedback.
All reactions